<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Pro - Login - Kam</title>
<?
	$kam_admin = './kam/admin/';
    $login_admin = './kam/admin/login-admin.html';
    //FullUrl = 'http://localhost/SourceMau/';
?>
<?
    $showCaptcha = false;

    if (isset($_SESSION['counter_login']))
    {
        if ($_SESSION['counter_login'] > 4)
        {
            $showCaptcha = true;
        }
    }
?>
<link href="<?=$kam_admin?>css/layout.css" rel="stylesheet" type="text/css" />
<link href="<?=$kam_admin?>css/login.css" rel="stylesheet" type="text/css" />
<!-- Theme Start -->
<link href="<?=$kam_admin?>css/themes/blue/styles.css" rel="stylesheet" type="text/css" />
<!-- Theme End -->
</head>
<body>
	<div id="logincontainer">
    	<div id="loginbox">
        	<div id="loginheader">
            	<img src="<?=$kam_admin?>css/themes/blue/images/cp_logo_login.png" alt="Control Panel Login" height="80px"/>
            </div>
            <div id="innerlogin">
            	<form action="<?=$FullUrl?>/login-admin.html?do=login&act=sm" method="post">
                	<p>Enter your username:</p>
                	<input type="text" class="logininput" id="username" name="username"/>
                    <p>Enter your password:</p>
                	<input type="password" class="logininput" id="password" name="password"/>
                    
                    <p style="<?= ($showCaptcha)? '':'display:none;' ?>"
              		<input name="security_code" type="text" id="security_code"  class="login-inp" >
                    </p>
                   
                   	<input type="submit" class="loginbtn" value="Submit" /><br />
                    <p><a href="<?=$login_admin?>?do=login&act=forgot" title="Forgoteen Password?">Forgotten Password?</a></p>
                </form>
            </div>
        </div>
        <img src="<?=$kam_admin?>images/login_fade.png" alt="Fade" />
    </div>
</body>
</html>